package com.mallotec.android.timenote.ui.adapter.base;

import android.view.View;

import androidx.databinding.ViewDataBinding;

import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder;

import org.jetbrains.annotations.NotNull;

/**
 * @author reborn
 * @program TimeNote
 * @description
 * @create 2020-11-13 23:05
 **/
public abstract class BaseDataBindingHolder2<
        ViewBinding extends ViewDataBinding,
        ViewModel extends androidx.lifecycle.ViewModel
        > extends BaseDataBindingHolder<ViewBinding> {

    public BaseDataBindingHolder2(@NotNull View view) {
        super(view);
    }

    public abstract void bindViewModel(ViewModel viewModel);
}
